home *** CD-ROM | disk | FTP | other *** search
- /* %filename% -- subwindow methods */
- /* Created %date% %time% by AppMaker */
-
- /* This module overrides the AppMaker-generated code in z%WindName%.% %*/
- /* It provides a place for you to add your own code and still be able to */
- /* generate code for new changes to the user interface. This module will */
- /* not be regenerated by AppMaker unless you delete it. Its superclass, */
- /* z%WindName%, may be regenerated to handle user interface changes% %*/
- /* without losing your hand-coded changes to this module. */
-
- #include <Commands.h>
- #include <CBartender.h>
- #include <CDecorator.h>
- #include <CDirector.h>
- #include <TBUtilities.h>
- #include "ResourceDefs.h"
- %for each item gen include%
- #include "%appname%Data.h"
- #include "%WindName%.h"
-
- extern CBartender *gBartender; /* The menu handling object */
- extern CDecorator *gDecorator; /* Window dressing object */
-
- %for each item gen defineItem%
-
- /*----------*/
- void C%WindName%::I%WindName% (CDirector *aSupervisor,
- C%appname%Data% %*theData)
- {
- itsData = theData;
- inherited::IZ%WindName% (aSupervisor);
- gDecorator->StaggerWindow (itsWindow);
-
- // any additional initialization for your window
-
- } /* I%WindName% */
-
- %for each item gen auxiliaryMethod%
- /*----------*/
- void C%WindName%::UpdateMenus (void)
- {
- inherited::UpdateMenus ();
-
- } /* UpdateMenus */
-
- /*----------*/
- void C%WindName%::DoCommand (long theCommand)
- {
- switch (theCommand) {
- %for each item gen DoCommand%
-
- default:
- inherited::DoCommand (theCommand);
- break;
- } /* switch */
-
- } /* DoCommand */
-
- /*----------*/
- void C%WindName%::ProviderChanged% %(CCollaborator *aProvider,
- long reason,
- void* info)
- {
- %for each item gen ProviderChanged%
-
- } /* ProviderChanged */
-
- /* %filename% */
-